package com.kakarote.oa.entity.PO;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.kakarote.common.field.entity.ModelFieldExtend;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * 自定义字段表
 * <p>
 * wk_oa_log_template_field_extend
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName(value = "wk_oa_log_template_field_extend")
@ApiModel(value = "OaExamineFieldExtend对象", description = "OA自定义字段扩展表")
public class OaLogTemplateFieldExtend extends ModelFieldExtend {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "最后修改时间")
    @TableField(fill = FieldFill.UPDATE)
    private LocalDateTime updateTime;



    @ApiModelProperty(value = "创建人ID")
    @TableField(fill = FieldFill.INSERT)
    private Long createUserId;

    @ApiModelProperty(value = "修改人ID")
    @TableField(fill = FieldFill.UPDATE)
    private Long updateUserId;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

}